package com.jason.learn.springcloud.orderservice.enty;


import com.jason.learn.springcloud.orderservice.utils.DateUtil;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class BuyOrder implements Serializable{
    private Long orderId;
    private Date createTime;
    private Long merNo;
    private int status;
    private BigDecimal amount;
    private String buyerCard;

    public String getBuyerCard() {
        return buyerCard;
    }

    public void setBuyerCard(String buyerCard) {
        this.buyerCard = buyerCard;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getMerNo() {
        return merNo;
    }

    public void setMerNo(Long merNo) {
        this.merNo = merNo;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

   /* @Override
    public String toString() {
        return "Order{" +
                "orderId=" + orderId +
                ", createTime=" + DateUtil.getDateTimeStr(createTime) +
                ", merNo=" + merNo +
                ", status=" + status +
                ",amount="+amount+
                '}';
    }*/
}
